<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@ include file="../common/taglibs.jsp"%>
<c:choose>
  <c:when test="${ntype eq '1'}">
    <c:set var="current_menu" value="customer" scope="page"/>
  </c:when>
  <c:when test="${ntype eq '2'}">
    <c:set var="current_menu" value="knowledge" scope="page"/>
  </c:when>
</c:choose>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title> Silk rugs, Chinese silk rug, china silk carpet, henan silk carpet, yilong carpet factory news and infomaition-yilong carpet factory</title>
	    <meta name="keywords" content="silk oriental rugs,Turkish silk carpet,Persian silk carpet,Chinese silk carpet,Kashmir carpet,Turkish silk carpet, Chinese silk rugs, Persian silk rugs"/>
		<meta name="Description" content="China silk rug(silk carpet)factory, Professional Manufacturer of handmade silk rug, Persian silk rug, silk oriental rug ,wool silk rugs, hand knotted silk carpets provided by Henan yilong silk carpet factory"/>
		
<%@ include file="../common/headtags.jsp"%>
<script type="text/javascript" src="${pageScope.ctx}/js/index.js"></script>
	</head>
	<body>
		<div id="page" class="w950">
			<%@ include file="../top.jsp"%>
			<div id="content">
				<div class="layout grid-s200m0">
					<div class="col-main">
						<div class="main-wrap">
                          <%@ include file="../left.jsp"%>                       
						</div>
					</div>
					<div class="col-sub">
						<div class="navi">
                           <a href="${pageScope.ctx}/">home</a> &gt; ${pageScope.current_menu }
						</div>						
						<div class="index-box  index-box-thin  index-box-thin-dark titlebox">
							<h3>
								${pageScope.current_menu }
							</h3>							
							<ul class="newslist">
							  <s:iterator value="resultPage.result">
							    <fmt:parseDate var="date" value="${addtime}" pattern="yyyyMMddHHmmss"/>							    
							   <li><span class="time"><fmt:formatDate value="${date}" pattern="MM / dd / yyyy"/></span><a href="${pageScope.ctx}/article/a/${id}">${title}</a> </li>
							  </s:iterator>
							</ul>
							<ul class="pagebar layout">	
							    <s:set name="total" value="resultPage.totalPage" scope="page"/>
							    <s:set name="current" value="resultPage.currentPage" scope="page"/>
							    <c:forEach var="n" begin="1" end="${pageScope.total}">
							      <c:choose>
							         <c:when test="${n eq pageScope.current}">
							            <span class="cur">${n}</span>
							         </c:when>
							         <c:otherwise>
							           <a href="${pageScope.ctx}/article/${pageScope.current_menu}/${n}">${n}</a>
							         </c:otherwise>
							      </c:choose>
							    </c:forEach>							    
							    <c:choose>
								    <c:when test="${pageScope.total eq pageScope.current}">
								      <span><i>NEXT</i></span>
								    </c:when>
								    <c:otherwise>
								      <a href="${pageScope.ctx}/article/${pageScope.current_menu}/${pageScope.current+1}"><i>NEXT</i></a>
								    </c:otherwise>
								</c:choose>    	  							  						
							</ul>	
						</div>	
						<div class="spacer"></div>					
					</div>
				</div>
			</div>
			<%@ include file="../bottom.jsp"%>
		</div>
		<%@ include file="../common/foottags.jsp"%>
	</body>
</html>

